﻿#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>

#include "bookapp.h"
#include "register.h"

namespace Ui {
class Login;
}

class Login : public QDialog
{
    Q_OBJECT

public:
    explicit Login(QWidget *parent = nullptr);
    ~Login();

private slots:
    void on_btn_register_clicked();

    void on_btn_login_clicked();

    void on_box_remain_passwd_stateChanged(int arg1);

    void on_edit_user_editingFinished();

    void on_edit_password_editingFinished();

    void on_box_choose_stateChanged(int arg1);


private:
    Ui::Login *ui;
    Register    m_registerPage;
};

#endif // LOGIN_H
